package com.tiamo.chatgpt.domain.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author luozhiwei
 * @date 2023/6/3 下午7:06
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Accessors(chain = true)
@ApiModel("消息体")
public class MsgDto {

    @ApiModelProperty("角色")
    private String role;

    @ApiModelProperty("内容")
    private String content;
}
